package o;

import com.huawei.appgallery.downloadengine.api.SessionDownloadTask;
import java.util.ArrayList;
import java.util.List;

public class dek {
    private static volatile dek ˋ = null;
    private static final Object ˏ = new byte[0];
    private bnh ˊ;

    private dek() {
        fhz ˋ = fho.ˏ().ˋ("DownloadEngine");
        if (ˋ != null) {
            this.ˊ = (bnh) ˋ.ॱ(bnh.class);
        }
    }

    public static dek ˋ() {
        dek o_dek;
        synchronized (ˏ) {
            if (ˋ == null) {
                ˋ = new dek();
            }
            o_dek = ˋ;
        }
        return o_dek;
    }

    public List<SessionDownloadTask> ˏ() {
        List<SessionDownloadTask> arrayList = new ArrayList();
        if (this.ˊ != null) {
            return this.ˊ.ॱ();
        }
        return arrayList;
    }
}
